﻿
/*========================================================================================
//Goodasong -- MySnake
//创建者: 
//创建时间：2013年9月15日
//类描述：实体类 SetMsgList (属性说明自动提取数据库字段的描述信息)
//最后修改者:
//最后修改时间:2013年9月15日	
=========================================================================================*/
using System;
using System.Web;
using System.Runtime.Serialization;

namespace COM.PreAlarm.Model
{
    /// <summary>
    /// 实体类 SetMsgList (属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    [Model(Name = "SetMsgList", PrimaryKey = "SetMsg_Time", ModelType = ModelType.Table, Condition = "1=1", IsNeedRecordModify = true)]
    public partial class SetMsgListInfo : BaseModel
    {
        public SetMsgListInfo()
        {            
            PrimaryKey = "SetMsg_Time"; 		
			this.OnCreated();
			this.OnModelCreated();
        }
		
		#region 方法

        public void OnCreated() { this.SetPrimaryKeyValue(); }			
		public override void SetPrimaryKeyValue(){}
		
        #endregion 
		
		#region 成员变量
				
		private string _Equip_City;//Equip_City
		private string _Equip_County;//Equip_County
		private string _Equip_No;//Equip_No
		private DateTime _SetMsg_Time;//SetMsg_Time
		private string _SetMsg_Content;//SetMsg_Content
		private string _Text;//text
		private string _Ext;//Ext
		private string _Equip_SimNo;//Equip_SimNo
		private string _Equip_Version;//Equip_Version
		
		#endregion
		
		#region 属性 
		
		/// <summary>
        /// Equip_City
        /// </summary>       
		[ModelField(Description = "Equip_City", Type = typeof(string), ErrorMessage = "Equip_City信息错误!", FieldType = FieldType.Normal, IsAllowNull = false, IsDbGenerated = false, Size = 16,  DbType = "varchar", IsNeedRecordModify = true)]
        public virtual string Equip_City
        {
            get
            {
                return this._Equip_City;
            }
            set
            {               
				_Equip_City = value;
            }
        }
		
		/// <summary>
        /// Equip_County
        /// </summary>       
		[ModelField(Description = "Equip_County", Type = typeof(string), ErrorMessage = "Equip_County信息错误!", FieldType = FieldType.Normal, IsAllowNull = false, IsDbGenerated = false, Size = 16,  DbType = "varchar", IsNeedRecordModify = true)]
        public virtual string Equip_County
        {
            get
            {
                return this._Equip_County;
            }
            set
            {               
				_Equip_County = value;
            }
        }
		
		/// <summary>
        /// Equip_No
        /// </summary>       
		[ModelField(Description = "Equip_No", Type = typeof(string), ErrorMessage = "Equip_No信息错误!", FieldType = FieldType.Normal, IsAllowNull = false, IsDbGenerated = false, Size = 16,  DbType = "varchar", IsNeedRecordModify = true)]
        public virtual string Equip_No
        {
            get
            {
                return this._Equip_No;
            }
            set
            {               
				_Equip_No = value;
            }
        }
		
		/// <summary>
        /// SetMsg_Time
        /// </summary>       
		[ModelField(Description = "SetMsg_Time", Type = typeof(DateTime), ErrorMessage = "SetMsg_Time信息错误!", FieldType = FieldType.Normal, IsAllowNull = false, IsDbGenerated = false, Size = 8,  DbType = "datetime", IsNeedRecordModify = true)]
        public virtual DateTime SetMsg_Time
        {
            get
            {
                return this._SetMsg_Time;
            }
            set
            {               
				_SetMsg_Time = value;
            }
        }
		
		/// <summary>
        /// SetMsg_Content
        /// </summary>       
		[ModelField(Description = "SetMsg_Content", Type = typeof(string), ErrorMessage = "SetMsg_Content信息错误!", FieldType = FieldType.Normal, IsAllowNull = false, IsDbGenerated = false, Size = -1,  DbType = "varchar", IsNeedRecordModify = true)]
        public virtual string SetMsg_Content
        {
            get
            {
                return this._SetMsg_Content;
            }
            set
            {               
				_SetMsg_Content = value;
            }
        }
		
		/// <summary>
        /// text
        /// </summary>       
		[ModelField(Description = "text", Type = typeof(string), ErrorMessage = "text信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 50,  DbType = "varchar", IsNeedRecordModify = true)]
        public virtual string Text
        {
            get
            {
                return this._Text;
            }
            set
            {               
				_Text = value;
            }
        }
		
		/// <summary>
        /// Ext
        /// </summary>       
		[ModelField(Description = "Ext", Type = typeof(string), ErrorMessage = "Ext信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 50,  DbType = "nvarchar", IsNeedRecordModify = true)]
        public virtual string Ext
        {
            get
            {
                return this._Ext;
            }
            set
            {               
				_Ext = value;
            }
        }
		
		/// <summary>
        /// Equip_SimNo
        /// </summary>       
		[ModelField(Description = "Equip_SimNo", Type = typeof(string), ErrorMessage = "Equip_SimNo信息错误!", FieldType = FieldType.Normal, IsAllowNull = false, IsDbGenerated = false, Size = 11,  DbType = "char", IsNeedRecordModify = true)]
        public virtual string Equip_SimNo
        {
            get
            {
                return this._Equip_SimNo;
            }
            set
            {               
				_Equip_SimNo = value;
            }
        }
		
		/// <summary>
        /// Equip_Version
        /// </summary>       
		[ModelField(Description = "Equip_Version", Type = typeof(string), ErrorMessage = "Equip_Version信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 50,  DbType = "varchar", IsNeedRecordModify = true)]
        public virtual string Equip_Version
        {
            get
            {
                return this._Equip_Version;
            }
            set
            {               
				_Equip_Version = value;
            }
        }
		
		#endregion 属性			  	
		
		public virtual string DetailURI { get; set; }
        public virtual string DetailHTMLURI { get; set; }
		public virtual string ManageEditURI {get; set;}
		public virtual string ManageDetailURI {get; set;}
		
		public override void OnLoaded()
        {
            base.OnLoaded();	
			DetailURI = ZModel.InitDetailURI("SetMsgList", "SetMsg_Time", "");
            DetailHTMLURI = ZModel.InitDetailHTMLURI("SetMsgList", "SetMsg_Time", "");	
			ManageEditURI = ZModel.InitMEditURI("SetMsgList", "SetMsg_Time", "");
		 	ManageDetailURI = ZModel.InitMDetailURI("SetMsgList", "SetMsg_Time", "");
			OnModelLoaded();
        }			
		partial void OnModelCreated();
        partial void OnModelLoaded();
	}
}
